#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "logindialog.h"
#include "registereddialog.h"
#include "resetdialog.h"
#include "chatdialog.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
private slots:
    void SlotSwitchReg();
    void SlotSwitchLogin();
    void SlotSwitchReset();
    void Slot_swich_chatdlg();
private:
    Ui::MainWindow *ui;
    LoginDialog * _login_dlg;
    registeredDialog * _register_dlg;
    ResetDialog * _reset_dlg;
    ChatDialog * _chat_dlg;
};
#endif // MAINWINDOW_H
